<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Fluid Survival Tool: GeometryHelper Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Fluid Survival Tool
   &#160;<span id="projectnumber">0.01</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classGeometryHelper-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GeometryHelper Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a23b405d720cf3806b073a406d9ae105f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23b405d720cf3806b073a406d9ae105f"></a>
<a class="el" href="classPolygon.html">Polygon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>createPolygon</b> (<a class="el" href="classSTDRegion.html">STDRegion</a> *region, <a class="el" href="classFormula.html">Formula</a> *formula)</td></tr>
<tr class="separator:a23b405d720cf3806b073a406d9ae105f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a916aee5efb1bead5b9b31ae96113a740"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a916aee5efb1bead5b9b31ae96113a740"></a>
<a class="el" href="classPolygon.html">Polygon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>splitRegion</b> (<a class="el" href="classSTDRegion.html">STDRegion</a> *region, <a class="el" href="classLine.html">Line</a> *line, Direction direction)</td></tr>
<tr class="separator:a916aee5efb1bead5b9b31ae96113a740"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa838f64e3e5ba0bd51e974f504b46ee2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa838f64e3e5ba0bd51e974f504b46ee2"></a>
<a class="el" href="classPolygon.html">Polygon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>regionToPoly</b> (<a class="el" href="classSTDRegion.html">STDRegion</a> *region)</td></tr>
<tr class="separator:aa838f64e3e5ba0bd51e974f504b46ee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c3abc152f2440a387def0530ca08b5e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c3abc152f2440a387def0530ca08b5e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addToPolygon</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly, <a class="el" href="classSegment.html">Segment</a> *seg, <a class="el" href="classLine.html">Line</a> *line, Direction direction)</td></tr>
<tr class="separator:a0c3abc152f2440a387def0530ca08b5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d7fd8e11f5613246c997efe4ad8b58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1d7fd8e11f5613246c997efe4ad8b58"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isPolyContainPt</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly, <a class="el" href="structPoint.html">Point</a> *p)</td></tr>
<tr class="separator:ac1d7fd8e11f5613246c997efe4ad8b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c198ccd6296b4f1a6bb8a019999eaf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6c198ccd6296b4f1a6bb8a019999eaf"></a>
<a class="el" href="classIntervalSet.html">IntervalSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getIntersectionIntervals</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly, <a class="el" href="classSegment.html">Segment</a> *segment)</td></tr>
<tr class="separator:af6c198ccd6296b4f1a6bb8a019999eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6098e903f0a208eb07d0c5d757a4f287"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6098e903f0a208eb07d0c5d757a4f287"></a>
<a class="el" href="classIntervalSet.html">IntervalSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getIntersectionIntervals</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly1, <a class="el" href="classPolygon.html">Polygon</a> *poly2)</td></tr>
<tr class="separator:a6098e903f0a208eb07d0c5d757a4f287"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab841a9e5157551f92b258b35256fa47c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab841a9e5157551f92b258b35256fa47c"></a>
<a class="el" href="classPolygon.html">Polygon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>reform</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly, <a class="el" href="classInterval.html">Interval</a> interval)</td></tr>
<tr class="separator:ab841a9e5157551f92b258b35256fa47c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef019beba9a3b2b53003547a827cf4a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef019beba9a3b2b53003547a827cf4a3"></a>
RegionState&#160;</td><td class="memItemRight" valign="bottom"><b>getTimeAndDirection</b> (<a class="el" href="structDtrmEvent.html">DtrmEvent</a> *dtrmRegion, <a class="el" href="classFormula.html">Formula</a> *psi1, double &amp;t, Direction &amp;dir)</td></tr>
<tr class="separator:aef019beba9a3b2b53003547a827cf4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeb237d9828716f45df0d448a8d7d38d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeeb237d9828716f45df0d448a8d7d38d"></a>
<a class="el" href="classPolygon.html">Polygon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>cropPolygon</b> (<a class="el" href="classPolygon.html">Polygon</a> *poly, double t, Direction dir)</td></tr>
<tr class="separator:aeeb237d9828716f45df0d448a8d7d38d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46ee0f2694f41ebbb0ceffc9b5400f85"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46ee0f2694f41ebbb0ceffc9b5400f85"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>drawPolygon</b> (cv::Mat &amp;im, <a class="el" href="classPolygon.html">Polygon</a> *poly, const int scale, cv::Scalar color=cv::Scalar(0, 0, 255))</td></tr>
<tr class="separator:a46ee0f2694f41ebbb0ceffc9b5400f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6af9172d08359b747bb94d345a2147de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6af9172d08359b747bb94d345a2147de"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>drawVerticalLine</b> (cv::Mat &amp;im, double t, Direction dir, const int scale, cv::Scalar color=cv::Scalar(0, 0, 255))</td></tr>
<tr class="separator:a6af9172d08359b747bb94d345a2147de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa993b44490ab75eea883230f246a47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeaa993b44490ab75eea883230f246a47"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>GeometryHelper</b> (<a class="el" href="structModel.html">Model</a> *_model)</td></tr>
<tr class="separator:aeaa993b44490ab75eea883230f246a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="GeometryHelper_8h_source.html">GeometryHelper.h</a></li>
<li>model/GeometryHelper.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 10 2013 11:10:03 for Fluid Survival Tool by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
